package com.djzhou.gmms.service.log;

import com.djzhou.gmms.model.company.TbCompany;
import com.djzhou.gmms.model.department.TbDepartment;
import com.djzhou.gmms.model.log.TbLog;
import com.djzhou.gmms.model.user.TbUser;
import com.djzhou.gmms.service.base.BaseService;

public interface LogService extends BaseService<TbLog>{
	/**
	 * 添加日志
	 * @param menuId 菜单ID
	 * @param userId 用户ID
	 * @param opWay 操作明细
	 * @param keyId 实体ID
	 * @param objectName 实体类名
	 * @param companyId 公司ID
	 */
	public void addLog(String menuName,TbUser user,String opWay,Integer keyId,String objectName,TbCompany company,TbDepartment department);
}
